﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace FYPDemo
{
    public partial class Reward : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Session["page"] = "reward";
                DataTable dt = new DataTable();
                dt = Reward_Module.listRewardProduct("", 0, 0, 0, 2);

                RewardProduct_LV.DataSource = dt;
                RewardProduct_LV.DataBind();

                ListView1.DataSource = dt;
                ListView1.DataBind();
            }
        }
    }
}